package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 微信基础设置
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wechat_basic_config")
public class WechatBasicConfig extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 微信Ticket
     */
    private String ticket;
    /**
     * 微信Ticket过期日期
     */
    @TableField("ticket_out_time")
    private LocalDateTime ticketOutTime;
    /**
     * appId
     */
    @TableField("app_id")
    private String appId;
    /**
     * 进入token
     */
    @TableField("access_token")
    private String accessToken;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
